package com.itheima.health.service;

import com.itheima.health.pojo.OrderSetting;
import org.springframework.transaction.annotation.Transactional;

import java.util.Date;
import java.util.List;

/**
 * @author zhangmeng
 * @description 预约设置SERVICE
 * @date 2019/9/29
 **/
public interface OrderSettingsService {
    /**
     * 批量添加
     * @param orderSettings
     */
    void addAll(List<OrderSetting> orderSettings);

    @Transactional
    void editNumberByDate(Date orderDate, int number);
}
